<template>
  <div>
    <br>
    <h2>{{ title }}</h2>
    <img :src="src"/>
  </div>
</template>

<script>
export default {
  name: 'ImageBox',
  props: ['src'],
  data () {
    return {
      title: '用src传递requre导入的图片'
    }
  }
}
</script>

<style scoped>

</style>
